#ifndef UTHEMEDBUTTON
#define UTHEMEDBUTTON
#include "../stdafx.h"
#include "UButton.h"


class TThemedButton: public TButton
{
private:
	float posrelx, posabsx, posrely, posabsy;
	int width, height;
	int rwidth, rheight;
	GLuint texture[6];
public:
	TThemedButton(std::string textures[6], float posinfo[4], int rw, int rh);
	virtual void Draw();
	
	void setPosRelative(TRectangle rect);
};

#endif
